package com.heima.model.behavior.dtos;

import lombok.AllArgsConstructor;
import lombok.Builder;

import lombok.Data;
import lombok.NoArgsConstructor;

import java.time.LocalDate;
import java.util.Date;

/**
 * @author 熏橙橙
 * @version 1.0
 * @date 2023-08-03 11:00
 */
@Data
@AllArgsConstructor
@NoArgsConstructor
@Builder
public class CollectionBehaviorDto {

    /**
     * 文章id
     */
     Long entryId;

    /**
     * 0收藏    1取消收藏
     */
    Short operation;

    /**
     * 发布时间
     */
    Date publishedTime;


    /**
     * 0文章    1动态
     */
    Short type;
}
